#pragma once

class CPoly
{
private:
	typedef struct _VERTEX
	{
		D3DXVECTOR4 m_Pos;
		DWORD		m_Col;
		D3DXVECTOR2 m_Tex;
	}VERTEX;
	VERTEX m_Vertex[4], m_Cp[4];
	LPDIRECT3DVERTEXBUFFER9 m_Buffer;
	D3DXMATRIX m_World;
public:
	CPoly();
	~CPoly();
	void Init(float _Width, float _Height);
	void Draw(LPDIRECT3DTEXTURE9 _pTex);
};